﻿namespace System
{
	internal static class TypeExtensions
	{
		internal static T[] GetCustomAttributes<T>(this Type type)
		{
			return type.GetCustomAttributes(typeof(T), true) as T[];
		}
	}
}
